from django.db import models
from hotels.models import Room
from guests.models import Guest
from django.contrib.auth.models import User
from django.contrib.auth.admin import UserAdmin

class Reservation(models.Model):
	room = models.ForeignKey(Room)
	guest = models.ForeignKey(User)
	check_in = models.DateField("Check in")
	check_out = models.DateField("Check out")

	def __unicode__(self):
		return self.guest.first_name
